﻿using System;

namespace afirewall.core
{
    using oueb;
    public class AfirewallHost
    {
        internal FirewallModule module;
        public AfirewallHost(AfirewallAuthMap auth)
        {
            module = new FirewallModule(auth);
            
        }

        public IOuebServer Mount(IOuebServer server)
        {
            server.AddRoute("/api/afirewall", module);
            return server;
        }
    }
}
